package page;

/**
 * Created by as on 2016/11/16.
 */
public class ClassMethod {
    public static void main(String[] args)
    {
        System.out.println("书的总数为：" + Book3.getNum());
        Book3 book3 = new Book3("平凡的世界");
        System.out.println("进货一本新书：" + book3.getName());

        Book3 book1 = new Book3("平凡的世界");
        System.out.println("进货一本新书：" + book1.getName());

        System.out.println("书的总数为：" + Book3.getNum());
    }
}
